<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace app\api\validate;
/**
 * Description of IDMustBePostiveInt
 *
 * @author Administrator
 */
class IDMustBePostiveInt  extends BaseValidate
{
    protected $rule=[
      'id'=>'require|isPositiveInteger'  
    ];
    protected $message=[
          'id'=>'id参数必须是正整数'  
    ];
    //put your code here
 
}
